using System.Threading.Tasks;
using U.B.DoMain.工作流引擎.Models;

namespace U.B.DoMain.工作流引擎
{
    public interface IWorkflow
    {
        Task<bool> ValidateRequest(ApprovalWorkflowData data);
        Task<bool> CheckPermissions(ApprovalWorkflowData data);
        Task<bool> ProcessApproval(ApprovalWorkflowData data);
        Task<bool> NotifyParticipants(ApprovalWorkflowData data);
        Task<bool> UpdateWorkflowStatus(ApprovalWorkflowData data);
    }
}